﻿<script type="text/javascript">
    $(document).ready(function () {

        var What = 'What?';
        var Where = 'Where?';

        $('#what').val(What).addClass('watermark');
        $('#what').blur(function () {
            if ($(this).val().length == 0) {
                $(this).val(What).addClass('watermark');
            }
        });
        $('#what').focus(function () {
            if ($(this).val() == What) {
                $(this).val('').removeClass('watermark');
            }
        });

        $('#where').val(Where).addClass('watermark');
        $('#where').blur(function () {
            if ($(this).val().length == 0) {
                $(this).val(Where).addClass('watermark');
            }
        });
        $('#where').focus(function () {
            if ($(this).val() == Where) {
                $(this).val('').removeClass('watermark');
            }
        });
    });
</script>

<div id="mainContent" class="container_12">            
	<img class="images_banner" alt="" src="@Url.Content("~/Content/Home/image/askpldt_banner.jpg")"/>
	<a class="back-arrowNav" id="lnkBack" title="Back to Quick Self-care Transactions" href="/Home">
    <img class="unit" alt="" src="@Url.Content("~/Content/Home/image/arrow.gif")"/>
    Back to Quick Self-care Transactions</a>
    <h3 class="menu_title">Directory Services</h3>
    @using (Ajax.BeginForm("DirectoryServices", "Home", new AjaxOptions
    {
        HttpMethod = "Post",
        InsertionMode = InsertionMode.Replace,
        UpdateTargetId = "loadDirectoryServices"
    }))
    {
     <div class="menu_content">
        <div><input type="text" id="what" name="what" /></div>
        <div><span class="help-block font_style_i span_move">example: Ace Hardware, Food Delivery, Flowers, Nokia </span></div>
        <div><input type="text" id="where" name="where"/></div>
        <div><span class="help-block font_style_i span_move">example: Metro Manila, Pasig, Rizal Avenue, Makati City</span></div>

        <input class="button_example" type="submit" name="submit" id="submit" value=" Submit "/>
    </div>   
     }   
        

    <div id="loadBalanceInquiry">
        @Html.Partial("_DirServices")
    </div>

</div>
<div class="clear"></div>


